\hypertarget{classpg_pale_gem_framework}{\section{pg\-Pale\-Gem\-Framework Class Reference}
\label{classpg_pale_gem_framework}\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}}
}


{\ttfamily \#include $<$Pale\-Gem.\-h$>$}

Inheritance diagram for pg\-Pale\-Gem\-Framework\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.623188cm]{classpg_pale_gem_framework}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
H\-R\-E\-S\-U\-L\-T \hyperlink{classpg_pale_gem_framework_a46312d0a1988e49366fad2582e0b7b25}{pg\-Init} (H\-I\-N\-S\-T\-A\-N\-C\-E h\-Instance, int cmd\-Show, L\-P\-C\-W\-S\-T\-R lp\-Game\-Title)
\begin{DoxyCompactList}\small\item\em Initialises the game engine and creates a game window. \end{DoxyCompactList}\item 
void \hyperlink{classpg_pale_gem_framework_a12b9a4df14933e5bc2b41e9ceb081c60}{pg\-Update} ()
\begin{DoxyCompactList}\small\item\em Updates the engine and its subsystems. \end{DoxyCompactList}\item 
H\-R\-E\-S\-U\-L\-T \hyperlink{classpg_pale_gem_framework_a865c1af190c75c69d0cf7855957f038d}{pg\-Exit} ()
\begin{DoxyCompactList}\small\item\em Shuts the engine down. \end{DoxyCompactList}\item 
void \hyperlink{classpg_pale_gem_framework_a80308dc4904ac802855a65a4628d9b36}{pg\-Do\-Message\-Loop} ()
\begin{DoxyCompactList}\small\item\em Enters the windows message loop. \end{DoxyCompactList}\item 
void \hyperlink{classpg_pale_gem_framework_af9fe0abcf9606ebcea8fa752fd1df9e5}{pg\-Do\-Message\-Loop} (int($\ast$Update\-Function)(float f\-Frame\-Time))
\begin{DoxyCompactList}\small\item\em Enters the windows message loop and calls Update\-Function before updating the engine. \end{DoxyCompactList}\item 
void \hyperlink{classpg_pale_gem_framework_a4aebbb9cf4100c5344d762660b3a91e2}{On\-Event} (\hyperlink{struct_i_event}{I\-Event} $\ast$e\-Event)
\begin{DoxyCompactList}\small\item\em Called by the event manager. \end{DoxyCompactList}\item 
void \hyperlink{classpg_pale_gem_framework_a2a52d75daf08ace93a2465ad2d0d3b44}{Handle\-Exception} (\hyperlink{_i_pale_gem_framework_8h_a11415b43ebb41a1fc4aa64954609c347}{P\-G\-\_\-\-E\-R\-R\-O\-R} error)
\item 
void \hyperlink{classpg_pale_gem_framework_ab8148b742c491963db2806359043c47f}{Handle\-Exception\-Custom} (const char $\ast$formatted\-Message, int return\-Code,...)
\item 
bool \hyperlink{classpg_pale_gem_framework_a1431d21992af42e6fd0ed3a3e9ee2614}{pg\-Check\-For\-Multiple\-Instances} (L\-P\-C\-W\-S\-T\-R lp\-Game\-Title)
\begin{DoxyCompactList}\small\item\em Checks if there's allready an instance of the game running. \end{DoxyCompactList}\item 
bool \hyperlink{classpg_pale_gem_framework_af75e15c52ee41abbf38ee2a754100e3a}{pg\-Check\-Hard\-Disk\-Space} (const D\-W\-O\-R\-D\-L\-O\-N\-G space\-Needed)
\begin{DoxyCompactList}\small\item\em Checks available memory on harddisk and returns true if theres enough. \end{DoxyCompactList}\item 
bool \hyperlink{classpg_pale_gem_framework_a6f4be711dc51000bd57c7a72a3b015eb}{pg\-Check\-R\-A\-M} (const D\-W\-O\-R\-D\-L\-O\-N\-G space\-Needed)
\item 
bool \hyperlink{classpg_pale_gem_framework_a3158f62dccb47ed723eafec416162eb2}{pg\-Check\-Avail\-R\-A\-M} (const D\-W\-O\-R\-D\-L\-O\-N\-G space\-Needed)
\item 
\hyperlink{classpg_event_manager}{pg\-Event\-Manager} $\ast$ \hyperlink{classpg_pale_gem_framework_a3add0b579c0a867c2bf215e3960d64f1}{Get\-Framework\-Event\-Manager} ()
\item 
\hyperlink{class_c_logfile}{C\-Logfile} $\ast$ \hyperlink{classpg_pale_gem_framework_ac7e0be0e0fd9585745f177a65890c9c2}{Get\-Logfile} ()
\item 
\hyperlink{classpg_render}{pg\-Render} $\ast$ \hyperlink{classpg_pale_gem_framework_aa0d1f630e42bdc99bc86e71dafff1e84}{Get\-Renderer} ()
\item 
\hyperlink{classpg_timer}{pg\-Timer} $\ast$ \hyperlink{classpg_pale_gem_framework_a75c934066a96f96ba568248c5e52b085}{Get\-Timer} ()
\item 
\hyperlink{classpg_input_event_manager}{pg\-Input\-Event\-Manager} $\ast$ \hyperlink{classpg_pale_gem_framework_af12ee522db252f3130c2f6ecbc05921e}{Get\-Input\-Event\-Manager} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classpg_pale_gem_framework_a95c8e167badd4abc656d4dea9d7ef216}{Pre\-Init} ()
\item 
H\-R\-E\-S\-U\-L\-T \hyperlink{classpg_pale_gem_framework_a242ae9e665b35d655708ebb7f7ae172a}{Create\-Game\-Window} (H\-I\-N\-S\-T\-A\-N\-C\-E h\-Instance, int cmd\-Show)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classpg_event_manager}{pg\-Event\-Manager} $\ast$ \hyperlink{classpg_pale_gem_framework_afa93b6cea8d86d601af53f799c1869d0}{m\-\_\-p\-Framework\-Event\-Manager}
\item 
\hyperlink{class_c_logfile}{C\-Logfile} $\ast$ \hyperlink{classpg_pale_gem_framework_ad13d8d2cc5b6dac5d37b2f16d653f5a0}{m\-\_\-p\-Logfile}
\item 
\hyperlink{classpg_render}{pg\-Render} $\ast$ \hyperlink{classpg_pale_gem_framework_af79ea1b304df3635d12309b82b90613c}{m\-\_\-p\-Renderer}
\item 
\hyperlink{classpg_timer}{pg\-Timer} $\ast$ \hyperlink{classpg_pale_gem_framework_a14c134963203b71e0d812b76f8fed59e}{m\-\_\-p\-Timer}
\item 
\hyperlink{classpg_input_event_manager}{pg\-Input\-Event\-Manager} $\ast$ \hyperlink{classpg_pale_gem_framework_a5d8f93382d696d5ddafc61d2b5e7883f}{m\-\_\-p\-Input\-Event\-Manager}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Member Function Documentation}
\hypertarget{classpg_pale_gem_framework_a242ae9e665b35d655708ebb7f7ae172a}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Create\-Game\-Window@{Create\-Game\-Window}}
\index{Create\-Game\-Window@{Create\-Game\-Window}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Create\-Game\-Window}]{\setlength{\rightskip}{0pt plus 5cm}H\-R\-E\-S\-U\-L\-T pg\-Pale\-Gem\-Framework\-::\-Create\-Game\-Window (
\begin{DoxyParamCaption}
\item[{H\-I\-N\-S\-T\-A\-N\-C\-E}]{h\-Instance, }
\item[{int}]{cmd\-Show}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_a242ae9e665b35d655708ebb7f7ae172a}
\hypertarget{classpg_pale_gem_framework_a3add0b579c0a867c2bf215e3960d64f1}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Get\-Framework\-Event\-Manager@{Get\-Framework\-Event\-Manager}}
\index{Get\-Framework\-Event\-Manager@{Get\-Framework\-Event\-Manager}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Get\-Framework\-Event\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Event\-Manager} $\ast$ pg\-Pale\-Gem\-Framework\-::\-Get\-Framework\-Event\-Manager (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_a3add0b579c0a867c2bf215e3960d64f1}
\hypertarget{classpg_pale_gem_framework_af12ee522db252f3130c2f6ecbc05921e}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Get\-Input\-Event\-Manager@{Get\-Input\-Event\-Manager}}
\index{Get\-Input\-Event\-Manager@{Get\-Input\-Event\-Manager}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Get\-Input\-Event\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Input\-Event\-Manager} $\ast$ pg\-Pale\-Gem\-Framework\-::\-Get\-Input\-Event\-Manager (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_af12ee522db252f3130c2f6ecbc05921e}
\hypertarget{classpg_pale_gem_framework_ac7e0be0e0fd9585745f177a65890c9c2}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Get\-Logfile@{Get\-Logfile}}
\index{Get\-Logfile@{Get\-Logfile}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Get\-Logfile}]{\setlength{\rightskip}{0pt plus 5cm}{\bf C\-Logfile} $\ast$ pg\-Pale\-Gem\-Framework\-::\-Get\-Logfile (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_ac7e0be0e0fd9585745f177a65890c9c2}
\hypertarget{classpg_pale_gem_framework_aa0d1f630e42bdc99bc86e71dafff1e84}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Get\-Renderer@{Get\-Renderer}}
\index{Get\-Renderer@{Get\-Renderer}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Get\-Renderer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Render} $\ast$ pg\-Pale\-Gem\-Framework\-::\-Get\-Renderer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_aa0d1f630e42bdc99bc86e71dafff1e84}
\hypertarget{classpg_pale_gem_framework_a75c934066a96f96ba568248c5e52b085}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Get\-Timer@{Get\-Timer}}
\index{Get\-Timer@{Get\-Timer}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Get\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Timer} $\ast$ pg\-Pale\-Gem\-Framework\-::\-Get\-Timer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_a75c934066a96f96ba568248c5e52b085}
\hypertarget{classpg_pale_gem_framework_a2a52d75daf08ace93a2465ad2d0d3b44}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Handle\-Exception@{Handle\-Exception}}
\index{Handle\-Exception@{Handle\-Exception}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Handle\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::\-Handle\-Exception (
\begin{DoxyParamCaption}
\item[{{\bf P\-G\-\_\-\-E\-R\-R\-O\-R}}]{error}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_a2a52d75daf08ace93a2465ad2d0d3b44}
\hypertarget{classpg_pale_gem_framework_ab8148b742c491963db2806359043c47f}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Handle\-Exception\-Custom@{Handle\-Exception\-Custom}}
\index{Handle\-Exception\-Custom@{Handle\-Exception\-Custom}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Handle\-Exception\-Custom}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::\-Handle\-Exception\-Custom (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{formatted\-Message, }
\item[{int}]{return\-Code, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{classpg_pale_gem_framework_ab8148b742c491963db2806359043c47f}
\hypertarget{classpg_pale_gem_framework_a4aebbb9cf4100c5344d762660b3a91e2}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!On\-Event@{On\-Event}}
\index{On\-Event@{On\-Event}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{On\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::\-On\-Event (
\begin{DoxyParamCaption}
\item[{{\bf I\-Event} $\ast$}]{e\-Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a4aebbb9cf4100c5344d762660b3a91e2}


Called by the event manager. 


\begin{DoxyParams}{Parameters}
{\em e\-Event} & Passed by the event manager. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{struct_i_event}{I\-Event} 
\end{DoxySeeAlso}


Implements \hyperlink{class_i_event_listener_a40210b0cc287ec611c2e05eebb8964aa}{I\-Event\-Listener}.

\hypertarget{classpg_pale_gem_framework_a3158f62dccb47ed723eafec416162eb2}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Check\-Avail\-R\-A\-M@{pg\-Check\-Avail\-R\-A\-M}}
\index{pg\-Check\-Avail\-R\-A\-M@{pg\-Check\-Avail\-R\-A\-M}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Check\-Avail\-R\-A\-M}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Pale\-Gem\-Framework\-::pg\-Check\-Avail\-R\-A\-M (
\begin{DoxyParamCaption}
\item[{const D\-W\-O\-R\-D\-L\-O\-N\-G}]{space\-Needed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a3158f62dccb47ed723eafec416162eb2}


Implements \hyperlink{class_i_pale_gem_framework_a5e2f8a348cedf1a2e5a0a15e96df3a4f}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a1431d21992af42e6fd0ed3a3e9ee2614}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Check\-For\-Multiple\-Instances@{pg\-Check\-For\-Multiple\-Instances}}
\index{pg\-Check\-For\-Multiple\-Instances@{pg\-Check\-For\-Multiple\-Instances}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Check\-For\-Multiple\-Instances}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Pale\-Gem\-Framework\-::pg\-Check\-For\-Multiple\-Instances (
\begin{DoxyParamCaption}
\item[{L\-P\-C\-W\-S\-T\-R}]{lp\-Game\-Title}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a1431d21992af42e6fd0ed3a3e9ee2614}


Checks if there's allready an instance of the game running. 


\begin{DoxyParams}{Parameters}
{\em lp\-Game\-Title} & Name of the game to check for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if there's already an instance running 
\end{DoxyReturn}


Implements \hyperlink{class_i_pale_gem_framework_afc4e02c4fdca1ebdf3f929e64c974d55}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_af75e15c52ee41abbf38ee2a754100e3a}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Check\-Hard\-Disk\-Space@{pg\-Check\-Hard\-Disk\-Space}}
\index{pg\-Check\-Hard\-Disk\-Space@{pg\-Check\-Hard\-Disk\-Space}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Check\-Hard\-Disk\-Space}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Pale\-Gem\-Framework\-::pg\-Check\-Hard\-Disk\-Space (
\begin{DoxyParamCaption}
\item[{const D\-W\-O\-R\-D\-L\-O\-N\-G}]{space\-Needed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_af75e15c52ee41abbf38ee2a754100e3a}


Checks available memory on harddisk and returns true if theres enough. 

space\-Needed The space to check for in bytes \begin{DoxyReturn}{Returns}
True if there's enough space to host space\-Needed 
\end{DoxyReturn}
{\itshape unsigned}/ \-\_\-int64 const needed\-Clusters = space\-Needed / (diskfree.\-sectors\-\_\-per\-\_\-cluster $\ast$ diskfree.\-bytes\-\_\-per\-\_\-sector); 

Implements \hyperlink{class_i_pale_gem_framework_ab5cec8d061abddec90a2bb9d60328ab0}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a6f4be711dc51000bd57c7a72a3b015eb}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Check\-R\-A\-M@{pg\-Check\-R\-A\-M}}
\index{pg\-Check\-R\-A\-M@{pg\-Check\-R\-A\-M}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Check\-R\-A\-M}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Pale\-Gem\-Framework\-::pg\-Check\-R\-A\-M (
\begin{DoxyParamCaption}
\item[{const D\-W\-O\-R\-D\-L\-O\-N\-G}]{space\-Needed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a6f4be711dc51000bd57c7a72a3b015eb}


Implements \hyperlink{class_i_pale_gem_framework_a767e1c3dbaf56507a3abef6908cb5fe7}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a80308dc4904ac802855a65a4628d9b36}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Do\-Message\-Loop@{pg\-Do\-Message\-Loop}}
\index{pg\-Do\-Message\-Loop@{pg\-Do\-Message\-Loop}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Do\-Message\-Loop}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::pg\-Do\-Message\-Loop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a80308dc4904ac802855a65a4628d9b36}


Enters the windows message loop. 

\begin{DoxySeeAlso}{See Also}
Updating your game 
\end{DoxySeeAlso}


Implements \hyperlink{class_i_pale_gem_framework_a16db0befad9f653ef6217aecba83087c}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_af9fe0abcf9606ebcea8fa752fd1df9e5}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Do\-Message\-Loop@{pg\-Do\-Message\-Loop}}
\index{pg\-Do\-Message\-Loop@{pg\-Do\-Message\-Loop}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Do\-Message\-Loop}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::pg\-Do\-Message\-Loop (
\begin{DoxyParamCaption}
\item[{int($\ast$)(float f\-Frame\-Time)}]{Update\-Function}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_af9fe0abcf9606ebcea8fa752fd1df9e5}


Enters the windows message loop and calls Update\-Function before updating the engine. 


\begin{DoxyParams}{Parameters}
{\em Update\-Function} & Pointer to your game's update function. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
Updating your game 
\end{DoxySeeAlso}


Implements \hyperlink{class_i_pale_gem_framework_a8f309099c288fbd27be3a1131107b056}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a865c1af190c75c69d0cf7855957f038d}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Exit@{pg\-Exit}}
\index{pg\-Exit@{pg\-Exit}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}H\-R\-E\-S\-U\-L\-T pg\-Pale\-Gem\-Framework\-::pg\-Exit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a865c1af190c75c69d0cf7855957f038d}


Shuts the engine down. 



Implements \hyperlink{class_i_pale_gem_framework_a7c0722e2ecb292f82771bfc4dde2c92b}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a46312d0a1988e49366fad2582e0b7b25}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Init@{pg\-Init}}
\index{pg\-Init@{pg\-Init}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Init}]{\setlength{\rightskip}{0pt plus 5cm}H\-R\-E\-S\-U\-L\-T pg\-Pale\-Gem\-Framework\-::pg\-Init (
\begin{DoxyParamCaption}
\item[{H\-I\-N\-S\-T\-A\-N\-C\-E}]{h\-Instance, }
\item[{int}]{cmd\-Show, }
\item[{L\-P\-C\-W\-S\-T\-R}]{lp\-Game\-Title}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a46312d0a1988e49366fad2582e0b7b25}


Initialises the game engine and creates a game window. 


\begin{DoxyParams}{Parameters}
{\em h\-Instance} & H\-I\-N\-S\-T\-A\-N\-C\-E arg of Win\-Main \\
\hline
{\em cmd\-Show} & n\-Cmd\-Show of Win\-Main \\
\hline
{\em lp\-Game\-Title} & Name of the game, will also be name of the windowclass and windowtitle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
S\-\_\-\-O\-K if everything went well otherwise see log 
\end{DoxyReturn}


Implements \hyperlink{class_i_pale_gem_framework_ad0723b0f1d9f8b8e4baeb1916000f00a}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a12b9a4df14933e5bc2b41e9ceb081c60}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!pg\-Update@{pg\-Update}}
\index{pg\-Update@{pg\-Update}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{pg\-Update}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::pg\-Update (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_pale_gem_framework_a12b9a4df14933e5bc2b41e9ceb081c60}


Updates the engine and its subsystems. 



Implements \hyperlink{class_i_pale_gem_framework_a265588dcd93528d4449aa244fed92f56}{I\-Pale\-Gem\-Framework}.

\hypertarget{classpg_pale_gem_framework_a95c8e167badd4abc656d4dea9d7ef216}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!Pre\-Init@{Pre\-Init}}
\index{Pre\-Init@{Pre\-Init}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{Pre\-Init}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Pale\-Gem\-Framework\-::\-Pre\-Init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_a95c8e167badd4abc656d4dea9d7ef216}


\subsection{Member Data Documentation}
\hypertarget{classpg_pale_gem_framework_afa93b6cea8d86d601af53f799c1869d0}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!m\-\_\-p\-Framework\-Event\-Manager@{m\-\_\-p\-Framework\-Event\-Manager}}
\index{m\-\_\-p\-Framework\-Event\-Manager@{m\-\_\-p\-Framework\-Event\-Manager}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{m\-\_\-p\-Framework\-Event\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Event\-Manager}$\ast$ pg\-Pale\-Gem\-Framework\-::m\-\_\-p\-Framework\-Event\-Manager\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_afa93b6cea8d86d601af53f799c1869d0}
\hypertarget{classpg_pale_gem_framework_a5d8f93382d696d5ddafc61d2b5e7883f}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!m\-\_\-p\-Input\-Event\-Manager@{m\-\_\-p\-Input\-Event\-Manager}}
\index{m\-\_\-p\-Input\-Event\-Manager@{m\-\_\-p\-Input\-Event\-Manager}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{m\-\_\-p\-Input\-Event\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Input\-Event\-Manager}$\ast$ pg\-Pale\-Gem\-Framework\-::m\-\_\-p\-Input\-Event\-Manager\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_a5d8f93382d696d5ddafc61d2b5e7883f}
\hypertarget{classpg_pale_gem_framework_ad13d8d2cc5b6dac5d37b2f16d653f5a0}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!m\-\_\-p\-Logfile@{m\-\_\-p\-Logfile}}
\index{m\-\_\-p\-Logfile@{m\-\_\-p\-Logfile}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{m\-\_\-p\-Logfile}]{\setlength{\rightskip}{0pt plus 5cm}{\bf C\-Logfile}$\ast$ pg\-Pale\-Gem\-Framework\-::m\-\_\-p\-Logfile\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_ad13d8d2cc5b6dac5d37b2f16d653f5a0}
\hypertarget{classpg_pale_gem_framework_af79ea1b304df3635d12309b82b90613c}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!m\-\_\-p\-Renderer@{m\-\_\-p\-Renderer}}
\index{m\-\_\-p\-Renderer@{m\-\_\-p\-Renderer}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{m\-\_\-p\-Renderer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Render}$\ast$ pg\-Pale\-Gem\-Framework\-::m\-\_\-p\-Renderer\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_af79ea1b304df3635d12309b82b90613c}
\hypertarget{classpg_pale_gem_framework_a14c134963203b71e0d812b76f8fed59e}{\index{pg\-Pale\-Gem\-Framework@{pg\-Pale\-Gem\-Framework}!m\-\_\-p\-Timer@{m\-\_\-p\-Timer}}
\index{m\-\_\-p\-Timer@{m\-\_\-p\-Timer}!pgPaleGemFramework@{pg\-Pale\-Gem\-Framework}}
\subsubsection[{m\-\_\-p\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pg\-Timer}$\ast$ pg\-Pale\-Gem\-Framework\-::m\-\_\-p\-Timer\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_pale_gem_framework_a14c134963203b71e0d812b76f8fed59e}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Inc/\hyperlink{_pale_gem_8h}{Pale\-Gem.\-h}\item 
Source/\hyperlink{_pale_gem_8cpp}{Pale\-Gem.\-cpp}\end{DoxyCompactItemize}
